package com.yonyou.portcity.utils;

/**
 * Created by zhouxiang on 2019-06-04.
 */
public class Result<T> {
    /**
     * 业务结果，请求成功
     */
    private boolean success = true;

    private String resultCode;

    private String resultMessage;

    private T data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
